#include <cstdio>

int const maxn = 100007;
int l[maxn], d[maxn];
int n;

int main()
{
	std::scanf("%d", &n);
	for (int i = 0; i < n; i++) std::scanf("%d", &l[i]);
	for (int i = 0; i < n; i++) std::scanf("%d", &d[i]);

	
}

